package cn.wxq.daily.empdailymgforserve.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 出勤休假审核
 */
public class VacationAudit {

    /**
     * 行政审批ID，主键
     */
    private Integer auditId;
    /**
     * 审批id（对应请假表）
     */
    private Integer leaveId;

    /**
     * 审核人
     */
    private String auditMen;
    /**
     * 审核意见(1:同意，2：拒绝）
     */
    private String auditAdvice;
    /**
     * 备注
     */
    private String auditRemark;
    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    /**
     * 临时状态，方便获取审核
     */
    private String lsStatus;

    public Integer getAuditId() {
        return auditId;
    }

    public void setAuditId(Integer auditId) {
        this.auditId = auditId;
    }

    public Integer getLeaveId() {
        return leaveId;
    }

    public void setLeaveId(Integer leaveId) {
        this.leaveId = leaveId;
    }

    public String getAuditMen() {
        return auditMen;
    }

    public void setAuditMen(String auditMen) {
        this.auditMen = auditMen;
    }

    public String getAuditAdvice() {
        return auditAdvice;
    }

    public void setAuditAdvice(String auditAdvice) {
        this.auditAdvice = auditAdvice;
    }

    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getLsStatus() {
        return lsStatus;
    }

    public void setLsStatus(String lsStatus) {
        this.lsStatus = lsStatus;
    }

    @Override
    public String toString() {
        return "VacationAudit{" +
                "auditId=" + auditId +
                ", leaveId=" + leaveId +
                ", auditMen='" + auditMen + '\'' +
                ", auditAdvice='" + auditAdvice + '\'' +
                ", auditRemark='" + auditRemark + '\'' +
                ", auditTime=" + auditTime +
                ", lsStatus='" + lsStatus + '\'' +
                '}';
    }
}
